{extend name="index@common/base"/}
{block name="style"}
<link rel="stylesheet" href="__CSS__/rehearse/simulation.css">
<link rel="stylesheet" href="__CSS__/duty/replay.css">
{/block}
{block name="body"}
<div class="layui-body layui-tab-content index-body" id="cont">
    <div class="park-navigation">
        <div class="navigation-icon">
            <i class="fa "></i>
        </div>
        <div class="navigation-menu">
            <h2>应急值守</h2>
            {if isset($breadCrumb[1])}
            <p>{$breadCrumb[0]['remark']}</p>
            {/if}
        </div>
        <div class="navigation-page">
            <ul>

                <li class="this" data-type="file">文件</li>
                <li data-type="video">视频</li>
                <li data-type="photo">图片</li>
                <li data-type="back" id="back" data-url="{:url('/duty/replay/index')}">返回</li>
            </ul>
        </div>
    </div>
    <div class="park-content page" id="page-file">
        <div class="content-title">
            <div class="title">
                <h3>{$title}</h3>

            </div>
        </div>
        <div class="layui-content" id="file_view">
            <div id="file-list" class="maintab" >
                <table class="layui-hide" id="file" lay-filter="file" data-file_url="{:url('/duty/replay/file/eventId/'.$eventId)}"></table>
            </div>
        </div>
    </div>

    <div class="park-content page-hide" id="page-video">
        <div class="content-title">
            <div class="title">
                <h3>{$title}</h3>

            </div>
        </div>
        <div class="layui-content" id="video_view">
            <div id="video-list" class="maintab" >

                <table class="layui-hide" id="video" lay-filter="video" data-video_url="{:url('/duty/replay/video/eventId/'.$eventId)}"></table>
            </div>
        </div>
    </div>

    <div class="park-content page-hide" id="page-photo">
        <div class="content-title">
            <div class="title">
                <h3>{$title}</h3>

            </div>
        </div>
        <div class="layui-content" id="photo_view">
            <div id="photo-list" class="maintab" >
                <table class="layui-hide" id="photo" lay-filter="photo" data-photo_url="{:url('/duty/replay/photo/eventId/'.$eventId)}"></table>

            </div>
        </div>
    </div>
</div>




{/block}
{block name="script"}

<script type="text/javascript" src="__JS__/duty/replay.js"></script>

<script type="text/html" id="photoes">
    {{# if (d.pathInfo){ }}
    <img src="__PUBLIC__{{d.pathInfo}}"></img>
    {{# } }}
</script>

<script type="text/html" id="sendPersonId">
{{d.user.userName}}
</script>

<script type="text/html" id="videoes">

    <a href="#" style="font-size:18px;color: #fff;" id="camera" data-url="{:url("duty/replay/camera")}"><i  class="fa fa-video-camera" ></i></a>

</script>

<script type="text/html" id="files">

    <a href="__PUBLIC__/{{d.pathInfo}}" style="font-size:18px;color: #fff;" id="filess"><i  class="fa fa-file" ></i></a>

</script>

{/block}
